Persistence
Modified on 2011/04/04 14:05 by Charles — Categorized as: Jetfire Core
Persistence
¶
Jetfire
objects
and classes(code) are automatically serialized and stored in a
workspace
or
namespace directory structure
on the
Server Nexus
when they are created or change. Persistence is a
first class attribute
within Jetfire that is transparently applied to objects and code.
The server physical storage mechanism is typically a database or file system. Jetfire objects, including the state of executing programs, are persistent until they are deleted (and dereferenced), which may be from days to months, surviving computer shutdowns and even crashes.
Objects and classes are automatically restored when a
client nexus
is created. Objects in the client nexus can be restored in a
system prevalence
manner or may be selectively restored by placing objects in a non-cached
workspace
and searching the server nexus.
See Also
¶
Root Object
Hello World example code
demonstrating persistence.
Blog article:
Persistence is the Tip of the Iceberg
Jetfire Overview